const init_state = {
  title: "京西商城",
};

export default (state = init_state, { type, payload }) => {
  switch (type) {
    case "INIT_HOME":
      return { ...state, ...payload };

    default:
      return state;
  }
};
